.btn {
  position: relative;
  display: inline-block;
  padding: 0 15px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #999999;
  border-radius: 2px;
  background: #fff;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  appearance: none;
  outline: none;

  &:hover {
    text-decoration: none;
    color: $text-main;
    border-color: #333333;
  }
  &[disabled],
  &.disable {
    border-color: #E0E0E0 !important;
    color: #C1C1C1 !important;
    user-select: none !important;
    pointer-events: none !important;
    box-shadow: none !important;
    background: #fff !important;
  }
}

.btn-sm {
  height: 30px;
  line-height: 30px;
}

.btn-link {
  border: 0px !important;
  background: transparent;
  box-shadow: 0 0 0;
}

.btn-primary {
  border-color: #9BBAFF;
  background: #F3F7FF;
  color: $primary;
  box-shadow: 0px 3px 6px 0px rgba(76, 132, 255, 0.14);
  &:hover {
    background: #E6EEFF;
    color: $primary!important;
    border-color: #9BBAFF;
  }
}

.btn-danger {
  border-color: #FFC1BE;
  background: #FFF3F3;
  color: $danger;
  box-shadow: 0px 3px 6px 0px rgba(255, 75, 75, 0.14);
  &:hover {
    border-color: #F3B7B7;
    color: $danger!important;
    background: #FFE5E5;
  }
}

.btn-success {
  border-color: #28a745;
  background: #f1fff2;
  color: $green;
  box-shadow: 0px 3px 6px 0px rgba(92, 255, 98, 0.14);

  &:hover {
    border-color: #28a745;
    color: $green !important;
    background: #e4ffe7;
  }
}

.btn-light {
  border-color: #D9D9D9;
  color: $text-gray;
}

.btn-block {
  display: block;
}

.btn-upload {
  display: block;
  background: #f7f7f7;
  border: 1px solid #eee;
  padding: 30px 20px;
  line-height: 100%;
  height: auto;

  &:hover {
    background: #f0f0f0;
    border-color: #ccc;
  }
}

.btn-submit {
  width: 310px;
}

.btn-full {
  width: 100%;
}
